package com.lucher.tangstore.po;

import java.util.List;

public class Product extends BaseField{
   
	private static final long serialVersionUID = -3885603677107356444L;

	private Integer id;

    private String productcode;

    private String productname;

    private String productsource;

    private Integer depotamount;

    private String productunit;

    private String imageurl;

    private String remark;

    private Product product;
	private List<Product> productlist;
    
	
	private String[] ordercodeArr;
    private String ordercodes;
	
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductcode() {
        return productcode;
    }

    public void setProductcode(String productcode) {
        this.productcode = productcode == null ? null : productcode.trim();
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname == null ? null : productname.trim();
    }

    public String getProductsource() {
        return productsource;
    }

    public void setProductsource(String productsource) {
        this.productsource = productsource == null ? null : productsource.trim();
    }

    public Integer getDepotamount() {
        return depotamount;
    }

    public void setDepotamount(Integer depotamount) {
        this.depotamount = depotamount;
    }

    public String getProductunit() {
        return productunit;
    }

    public void setProductunit(String productunit) {
        this.productunit = productunit == null ? null : productunit.trim();
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl == null ? null : imageurl.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public List<Product> getProductlist() {
		return productlist;
	}

	public void setProductlist(List<Product> productlist) {
		this.productlist = productlist;
	}

	public String[] getOrdercodeArr() {
		return ordercodeArr;
	}

	public void setOrdercodeArr(String[] ordercodeArr) {
		this.ordercodeArr = ordercodeArr;
	}

	public String getOrdercodes() {
		return ordercodes;
	}

	public void setOrdercodes(String ordercodes) {
		this.ordercodes = ordercodes;
	}
}